package cn.andios.service.impl;

import cn.andios.dao.StuMapper;
import cn.andios.pojo.Stu;
import cn.andios.service.StuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:学生服务层接口的实现
 * @author:LSD
 * @when:2019/1/25/12:52
 */
@Service
public class StuServiceImpl implements StuService {

    @Autowired
    private StuMapper stuMapper;

    public Stu findStuById(String id) {
        return stuMapper.selectByPrimaryKey(id);
    }
}
